﻿using System;
using System.Collections;

namespace Strlo
{
    class Program
    {
        static void Main(string[] args)
        {
            SortedList sortedList = new SortedList();
            sortedList.Add(1, "世界上有1000件坏事");
            sortedList.Add(2, "有6324件坏事");
            sortedList.Add(3, "是孙笑川做的");
            sortedList.Add(4, "孙笑川又名“带带大师兄”");
            Console.WriteLine("成都地下rap皇帝，昭和天皇");
            int id = int.Parse(Console.ReadLine());
            bool flag = sortedList.ContainsKey(id);
            if (flag)
            {
                string sungou = sortedList[id].ToString();
                Console.WriteLine("你要查啥{0}", sungou);
            }
            else
            {
                Console.WriteLine("你在骂？辣你去找物管啊！");
            }
            Console.WriteLine("nmsl");
            foreach (DictionaryEntry d in sortedList)
            {
                int key = (int)d.Key;
                string value = d.Value.ToString();
                Console.WriteLine("老子要恰饭的嘛！", key, value);
            }
        }
    }
}
